package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BffEvaTempDocRelaDto
 * @使用场景
 */
@Data
public class BffEvaTempDocRelaDto implements Serializable {

  /**
   * 文档ID
   */
  @NotNull(message = "文档ID不能为空")
  @ApiModelProperty("文档ID")
  private String unstructuredDataId;

  /**
   * 是否是网盘引用关系 TRUE:是 FALSE:否
   */
  @NotNull(message = "是否是网盘引用关系不能为空")
  @ApiModelProperty("是否是网盘引用关系")
  private String isNetworkReference;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffEvaTempDocRelaDto that = (BffEvaTempDocRelaDto) o;
      return  unstructuredDataId == that.unstructuredDataId&&isNetworkReference == that.isNetworkReference;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), unstructuredDataId,isNetworkReference);
    }

}
